﻿using Cinemachine;
using System.Diagnostics.Tracing;
using UnityEngine;

namespace Assets.Scripts.DL.Mgrs {
	public class CameraImpulseMgr : MonoBehaviour {
		public static CameraImpulseMgr Instance { get; private set; }
		CinemachineImpulseSource source;
		private void Awake() {
			Instance = this;
			source = GetComponent<CinemachineImpulseSource>();
		}

		public void Generate(Vector3 impluse)
			=> source.GenerateImpulse(impluse);
	}
}
